/**
 * Copyright 2012 Alfredo "Rainbowbreeze" Morresi
 * 
 * This file is part of Apps4Italy PM10 project.
 * 
 * PM10 is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * PM10 is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with Foobar. If not, see http://www.gnu.org/licenses/.
 */
package it.rainbowbreeze.eureka.ui.view;

import it.rainbowbreeze.eureka.common.AppEnv;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

/**
 * @author Alfredo "Rainbowbreeze" Morresi
 *
 */
public class QualityOverlayItem extends OverlayItem {
    // ------------------------------------------ Private Fields
    private final int mQuality;
    private final int mRadius;
    
    // -------------------------------------------- Constructors
    public QualityOverlayItem(
            GeoPoint point,
            String title,
            String snippet,
            int quality,
            int radius) {
        super(point, title, snippet);
        mQuality = quality;
        mRadius = radius;
    }
    
    // --------------------------------------- Public Properties
    
    /**
     * Quality of the area, from 0 to {@link AppEnv#MAX_LEVEL}
     */
    public int getQuality() {
        return mQuality;
    }
    
    /**
     * Radius of the quality area, in meters
     * @return
     */
    public int getRadius() {
        return mRadius;
    }

    // -------------------------------------------------- Events

    // ------------------------------------------ Public Methods

    // ----------------------------------------- Private Methods

    // ----------------------------------------- Private Classes
}
